//
// Created on 2024/3/20.
//
// Node APIs are not fully supported. To solve the compilation error of the interface cannot be found,
// please include "napi/native_api.h".

#include "RectF.h"
    float rnoh::RectF::width(){return right - left; };
    float rnoh::RectF::height() { return bottom - top; };
    void rnoh::RectF::set(float l, float t, float r, float b){
         left = l;
         top = t;
         right = r;
         bottom = b;
    };
    rnoh::RectF::RectF(){

    };
    rnoh::RectF::RectF(float l, float t, float r, float b){
         left=l;
         top=t;
         right=r;
         bottom=b;
    };
